package com.baizhi.service;

import com.baizhi.entity.RoleResource;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author longyang
 * @since 2022-01-13
 */
public interface IRoleResourceService extends IService<RoleResource> {
    //给角色赋权
    Integer addRoleResource(RoleResource roleResource);
    //获取某个角色的权限id
    List<RoleResource> slectRoleResource(Integer roleId);
}
